package cn.houseProperty.service.impl;

import cn.entity.Do.Suite;
import cn.houseProperty.dao.SuiteDao;
import cn.houseProperty.service.IsuiteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SuiteService implements IsuiteService {
    @Autowired
    private SuiteDao suiteDao;
    @Override
    public List<Suite> selectByBid(String bid) {
        return suiteDao.selectByBid(bid);
    }

    @Override
    public Suite selectByPrimaryKey(String code) {
        return suiteDao.selectByPrimaryKey(code);
    }

    @Override
    public List<Suite> selectAll() {
        return suiteDao.selectAll();
    }
}
